import { useEffect, useState, Dispatch, SetStateAction } from "react";
import styled from "styled-components";

export const ProjectModal = ({ open: [show, setShow]}: { open: [boolean, Dispatch<SetStateAction<boolean>>] }) => {
  return (show ? <ProjectModalContainer onClick={() => { setShow(false); }}>项目编辑弹窗</ProjectModalContainer> : <></>);
}

const ProjectModalContainer = styled.div`
  position: fixed;
  z-index: 999;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  background-color: rgba(255,255,255,.9);
`;